package com.hibernate.model;

import java.util.List;

/**
 * 账号
 * 
 * @author sheshaobin
 */
public class AccountDto {
	// 用户Id
	private Integer userId;
	// 登录名
	private String loginName;
	// 登陆密码
	private String loginPwd;
	// 姓名
	private String userName;
	// 部门
	private String department;
	// 职位
	private String position;
	// 上属
	private Integer agentPersonId;

	// 托管人
	private Integer custodyPersonId;

	// 下级数据
	private List<AccountDto> children;

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Integer getAgentPersonId() {
		return agentPersonId;
	}

	public void setAgentPersonId(Integer agentPersonId) {
		this.agentPersonId = agentPersonId;
	}

	public Integer getCustodyPersonId() {
		return custodyPersonId;
	}

	public void setCustodyPersonId(Integer custodyPersonId) {
		this.custodyPersonId = custodyPersonId;
	}

	public List<AccountDto> getChildren() {
		return children;
	}

	public void setChildren(List<AccountDto> children) {
		this.children = children;
	}
}
